package br.edu.fasete.javaroad.model;

import java.util.ArrayList;
import java.util.List;

public class MethodDescriptor {
	private String name;
	private String type;
	private String visibility;
	private boolean isStatic;
	private boolean isAbstract;
	
	private List<ParameterDescriptor> arguments;
	
	public List<ParameterDescriptor> getArguments() {
		return arguments;
	}

	
	public boolean isAbstract() {
		return isAbstract;
	}
	
	public void setAbstract(boolean a) {
		isAbstract = a;
	}
	
	public boolean isStatic() {
		return isStatic;
	}
	
	public void setStatic(boolean s) {
		isStatic = s;
	}
	
	public String getVisibility() {
		return visibility;
	}
	public void setVisibility(String visibility) {
		this.visibility = visibility;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public MethodDescriptor(String name, String type) {
		this();
		this.name = name;
		this.type = type;
	}
	public MethodDescriptor() {
		arguments = new ArrayList<ParameterDescriptor>(5);
	}
	

}
